package com.qf.day08;

/**
 * 匕首
 */
public class Dagger extends Weapon {
    private int height;

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    @Override
    public String toString() {
        return "Dagger{" +
                "height=" + height +
                "} " + super.toString();
    }

    public Dagger() {
    }

    public Dagger(String name, int weight, String type, int height) {
        super(name, weight, type);
        this.height = height;
    }
}
